using System.Collections.Generic;

namespace SharePoint.Security.ConfigAnalyzer.Engine.Common
{
    public static class Constants
    {
        public const string AntiVirusDownloadScanEnabled = "DownloadScanEnabled";
        public const string AntiVirusUploadScanEnabled = "UploadScanEnabled";
        public const string AntiVirusCleaningEnabled = "CleaningEnabled";
        public const string AntiVirusAllowDownload = "AllowDownload";


        public static Dictionary<string, RuleInfo> RuleInfos = new Dictionary<string, RuleInfo>();

        static Constants()
        {
            RuleInfos.Add(
                AntiVirusDownloadScanEnabled, new RuleInfo
                                           {
                                               Description = "Scan documents on download",
                                               ExpectedValue = "Enabled",
                                               Title = AntiVirusDownloadScanEnabled
                                           });

            RuleInfos.Add(
               AntiVirusUploadScanEnabled, new RuleInfo
               {
                   Description = "Scan documents on upload",
                   ExpectedValue = "Enabled",
                   Title = AntiVirusUploadScanEnabled
               });

            RuleInfos.Add(
                AntiVirusCleaningEnabled, new RuleInfo
                {
                    Description = "Is Antivirus cleaning enabled ",
                    ExpectedValue = "Enabled",
                    Title = AntiVirusCleaningEnabled
                });

            RuleInfos.Add(
               AntiVirusAllowDownload, new RuleInfo
               {
                   Description = "Antivirus allows download",
                   ExpectedValue = "Enabled",
                   Title = AntiVirusAllowDownload
               });

        }
    }
}